﻿@using WSPay.UI
@model WSPay.Common.IPagedList<WSPay.Domain.ClientInfo>
@{
    ViewBag.Title = "客户端";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<h2>
    @ViewBag.Title
    <a class="btn btn-link" href="@Url.Action("Add", "Client", new { area = "Manage"})" role="button">新建</a>    
</h2>
<hr />
        <table class="table table-bordered">
            <thead>
                <tr>
                    <th>序号</th>
                    <th>名称</th>
                    <th>GUID</th>
                    <th>MD5 Key</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model.ToList())
            {
                    <tr>
                        <td>@Model.ItemIndex(item)</td>
                        <td>@item.Name</td>
                        <td>@item.Guid</td>
                        <td>@item.MD5Key</td>
                        <td><a class="btn btn-link" href="@Url.Action("Edit", "Client", new { area = "Manage",id=item.ID})" role="button">编辑</a></td>
                    </tr>
                }
            </tbody>
        </table>
        @Html.Pager(Model)

